import React from "react";
import ReactDOM from 'react-dom/client'


//导入一个组件
// import App from './01-ref'
// import App from "./02-forwardRef";
// import App from "./03-逐层传递";
// import App from "./04-上下文传递";
// import App from './05-上下文-传递对象'
// import App from "./06-上下文传递-displayName";
// import App from "./07-组件复用";
import App from "./08-高阶组件";



const root = ReactDOM.createRoot(document.getElementById('root'))


root.render(<App title='你好世界'/>)